123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAHA00402_건진환자선택[경북대학교].xrw
- * 설 명 : 건진환자선택[경북대학교]
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2012.10.24
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>건진환자선택</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <orddd/>
- <healexamdetlnm/>
- <sex/>
- <age/>
- <telno/>
- <mpphon/>
- <rsltcnstdd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cretno/>
- </item>
- </patinfo>
- </main>
- <send>
- <srchhealexamflag/>
- <srchpnm/>
- <srchrgstno1/>
- <srchrgstno2/>
- <srchpid/>
- </send>
- <hidden>
- <patinfo>
- <item/>
- </patinfo>
- </hidden>
- <target>
- <srchcond/>
- <srchpnm/>
- <srchpid/>
- <setflag/>
- <desxpath/>
- <setyn/>
- </target>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
- <submission id="TRAHA00125" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/patinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- if(checkOpener()){
- opener.model.makeNode("/root/temp/okflag");
- vOpenerID = opener.javascript.getParameter("SPAHA00402_PARAM1");
- vHealexamflag = opener.javascript.getParameter("SPAHA00402_PARAM2");
- vPid = opener.javascript.getParameter("SPAHA00402_PARAM3");
- vPnm = opener.javascript.getParameter("SPAHA00402_PARAM4");
- vRgstNo1 = opener.javascript.getParameter("SPAHA00402_PARAM5");
- vRgstNo2 = opener.javascript.getParameter("SPAHA00402_PARAM6");
-
- model.setValue("/root/send/srchhealexamflag" , vHealexamflag);
- model.setValue("/root/send/srchpid" , vPid);
- model.setValue("/root/send/srchpnm" , vPnm);
- model.setValue("/root/send/srchrgstno1" , vRgstNo1);
- model.setValue("/root/send/srchrgstno2" , vRgstNo2);
- model.setFocus("ipt_pnm");
- model.refresh();
-
- fGetPatList();
- }
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- var vOpenerID = "";
- var vHealexamflag = "";
- var vPid = "";
- var vPnm = "";
- var vRgstNo1 = "";
- var vRgstNo2 = "";
-
- function fInit(){
- model.removeNodeset("/root/main/patinfo/item");
- }
-
- /**========================================================================================================================
- ** 환자리스트 조회
- *========================================================================================================================*/
- function fGetPatList(){
- fInit();
-
- vPnm = model.getValue("/root/send/srchpnm");
- vRgstNo1 = model.getValue("/root/send/srchrgstno1");
- vPid = model.getValue("/root/send/srchpid");
- if(vPnm == "" && vRgstNo1 == "" && vPid == ""){
- messageBox("조회정보를", "C001");
- return;
- }
- submit("TRAHA00125");
-
- var node = instance1.selectSingleNode("/root/hidden/patinfo/item");
- if(node != null){
- model.copyNode("/root/main/patinfo", "/root/hidden/patinfo");
- }
- model.refresh();
- }
-
- function fSetPatinfo(){
- var idx = grd_patlst.row;
- if(idx < 1){
- return;
- }
- if(checkOpener()){
- var vDestXPath = "/root/send/srch"
- copyNodesetType(vDestXPath, "/root/main/patinfo/item[" + idx + "]", "replace", opener.model, model);
- opener.rsltcnstdd.value = grd_patlst.valueMatrix(grd_patlst.row, grd_patlst.colRef("rsltcnstdd"));
- opener.model.setValue("/root/temp/okflag", "ok");
- opener.javascript.fSearchAfterColgJudgInfo();
- window.close();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="910" pageheight="343" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" style="left:0px; top:0px; width:890px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:875px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">성명 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:810px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPatList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:724px; y1:7px; x2:724px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_pnm" ref="/root/send/srchpnm" class="input_search" navindex="1" style="left:80px; top:9px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_rgstno1" ref="/root/send/srchrgstno1" class="input_search" navindex="2" format="999999" style="left:262px; top:9px; width:60px; height:19px; "/>
- <input id="ipt_rgstno2" ref="/root/send/srchrgstno2" class="input_search" navindex="3" format="9999999" style="left:325px; top:9px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:170px; top:8px; width:86px; height:17px; ">주민번호 :</caption>
- <input id="ipt_pid" ref="/root/send/srchpid" class="input_search" navindex="1" style="left:485px; top:9px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:395px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter3" navindex="4" style="left:735px; top:7px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/srchhealexamflag" , vHealexamflag);
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:35px; width:890px; height:280px; ">
- <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:95px; height:13px; ">건진자리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:875px; y2:25px; "/>
- <datagrid id="grd_patlst" nodeset="/root/main/patinfo/item" scroll="vertical" caption="등록번호^환자성명^주민등록번호^주민등록번호^건진일자^건진구분^성별^나이^연락처^휴대번호^rsltcnstdd^healexamflag^healexamdetlflagrsrvdd^rsrvno^cretno" colsep="^" colwidth="70, 75, 60, 70, 100, 130, 38, 38, 120, 120, 10, 10, 10, 10, 10, 10" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:875px; height:245px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="rgstno1" style="text-align:center; "/>
- <col ref="rgstno2" style="text-align:center; "/>
- <col ref="orddd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="healexamdetlnm"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="telno"/>
- <col ref="mpphon"/>
- <col ref="rsltcnstdd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetPatinfo();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:890px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:762px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetPatinfo();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:821px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(checkOpener()){
- opener.model.setValue("/root/temp/okflag", "");
- }
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|